cmake_minimum_required(VERSION 3.18)

#project name
PROJECT(test_dsp)

set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -g)

#head file path
INCLUDE_DIRECTORIES("include")
INCLUDE_DIRECTORIES("include/dsp")

#source directory
AUX_SOURCE_DIRECTORY(source DIR_SRCS)


#set extern libraries
SET(LIBRARIES libCMSISDSPCommon.a libCMSISDSPTransform.a)

link_directories("E:/Ready_For/CMSISDSP_HOST/DSP_demo/lib")

#add executable file
ADD_EXECUTABLE(dsp_out ${DIR_SRCS})

#add link library
TARGET_LINK_LIBRARIES(dsp_out ${LIBRARIES})
